cmake_minimum_required(VERSION 3.10)
project(GraphBundlingCpp)

# 设置 C++ 标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 开启调试信息（可选）
set(CMAKE_BUILD_TYPE Debug)

# 包含头文件目录
include_directories(${PROJECT_SOURCE_DIR}/include)

# 设置源文件
file(GLOB_RECURSE SOURCES src/*.cpp)

# 可执行文件输出路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# 构建可执行文件
add_executable(GraphBundlingCpp ${SOURCES})

target_include_directories(GraphBundlingCpp PRIVATE include)

target_sources(GraphBundlingCpp
    PRIVATE
        src/main.cpp
        src/CsvReader.cpp
)
